Skip to content

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Nov 5, 2024

rather than using regex that may drift over time, we should just use the functions provided by codersdk to validate name attributes

@aslilac aslilac requested a review from ethanndickson November 5, 2024 21:50
Copy link
Member

@ethanndickson ethanndickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing this, this is much better! I actually moved the name validators from coderd into codersdk back in september and then forgot to use them here once the release came out 😭

@aslilac aslilac merged commit d0f5e21 into main Nov 7, 2024
13 checks passed
@aslilac aslilac deleted the lilac/codersdkvalidator branch November 7, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants